package com.yida.gwj.common.domain;

import com.yida.common.core.annotation.Excel;
import com.yida.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 基础数据（业主）对象 common_owner
 *
 * @author lqq
 * @date 2022-11-14
 */
public class GwjBaseOwner extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/**
	 * 业主ID
	 */
	@Excel(name = "业主ID")
	private Long ownerId;

	/**
	 * 房屋ID
	 */
	@Excel(name = "房屋标识码")
	private String houseCode;

	/**
	 * 业主名称
	 */
	@Excel(name = "业主名称")
	private String ownerName;

	/**
	 * 证件号码
	 */
	@Excel(name = "证件号码")
	private String cardNum;

	/**
	 * 手机号码
	 */
	@Excel(name = "手机号码")
	private String ownerPhone;

	/**
	 * 地区ID
	 */
	@Excel(name = "地区ID")
	private Long areaId;

	/**
	 * 街道ID
	 */
	@Excel(name = "街道ID")
	private Long streetId;
	
	/**
     * 20230223
     * 是否是导入自建楼盘0:否;1:是
     */
    private String importFlag;

	public String getOwnerName() {
		return ownerName;
	}

	public void setOwnerName(String ownerName) {
		this.ownerName = ownerName;
	}

	public String getOwnerPhone() {
		return ownerPhone;
	}

	public void setOwnerPhone(String ownerPhone) {
		this.ownerPhone = ownerPhone;
	}

	public Long getAreaId() {
		return areaId;
	}

	public void setAreaId(Long areaId) {
		this.areaId = areaId;
	}

	public Long getStreetId() {
		return streetId;
	}

	public void setStreetId(Long streetId) {
		this.streetId = streetId;
	}

	public Long getOwnerId() {
		return ownerId;
	}

	public void setOwnerId(Long ownerId) {
		this.ownerId = ownerId;
	}

	public String getHouseCode() {
		return houseCode;
	}

	public void setHouseCode(String houseCode) {
		this.houseCode = houseCode;
	}

	public void setCardNum(String cardNum) {
		this.cardNum = cardNum;
	}

	public String getCardNum() {
		return cardNum;
	}

	public String getImportFlag() {
        return importFlag;
    }

    public void setImportFlag(String importFlag) {
        this.importFlag = importFlag;
    }

    @Override
	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
				.append("ownerId", getOwnerId())
				.append("houseCode", getHouseCode())
				.append("cardNum", getCardNum())
				.toString();
	}
}
